package com.cloudkinto.service.orderback.vo;

import com.cloudkinto.common.utils.StringsUtil;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/8/5 15:21
 * @description:
 */
@Data
public class OrderBackPageRes implements Serializable {
    private Long id;

    private String shopName;

    private String storageName;

    private int applyExtension;

    /**
     * 原出库订单号
     */
    private String orderOutNumber;

    /**
     * 联系人
     */
    private String contactName;

    /**
     * 联系方式
     */
    private String telPhone;

    /**
     * 追踪号
     */
    private String trackNumber;

    /**
     * 快递公司
     */
    private String trackName;

    /**
     * 操作费
     */
    private Double operateFee;

    /**
     * 手续费
     */
    private Double taxFee;

    /**
     * 运输费
     */
    private Double shipFee;

    private String status;
    private String backResult;
    private Long backResultId;
    private String tips;
    private String dealDate;
    private String lastDate;
    private String overdueDate;
    private String arriveDate;
    private String openBox;
    private String canSale;

    List<OrderBackDetailItem> list;


    public String getOpenBox() {
        return StringsUtil.createI18Message(openBox);
    }

    public String getCanSale() {
        return StringsUtil.createI18Message(canSale);
    }
}
